/* 全局样式 */
:root {
    --primary-blue: #4a90e2;
    --hover-blue: #3a7bc8;
    --light-gray: #f5f7fa;
    --border-gray: #e0e0e0;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    background: var(--light-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* 登录容器 */
.login-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

/* 登录头部 */
.login-header {
    margin-bottom: 30px;
}

.login-header i {
    font-size: 40px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.login-header h1 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.login-header p {
    color: #666;
    margin: 5px 0 0;
}

/* 表单样式 */
.form-group {
    position: relative;
    margin-bottom: 20px;
}

.icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    font-size: 14px;
    background: #f9f9f9;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
    background: white;
}

/* 记住我和忘记密码 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    color: #666;
}

.remember-me input {
    margin-right: 5px;
}

.forgot-password {
    color: var(--primary-blue);
    text-decoration: none;
}

/* 登录按钮 */
.login-button {
    width: 100%;
    padding: 14px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s;
}

.login-button:hover {
    background: var(--hover-blue);
}